Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Abstract Window Toolkit Control Functions /


JMExecStaticMethodInContext

Executes a static Java method in a given AWT context thread.

OSStatus JMExecStaticMethodInContext (
                     JMAWTContextRef context,
                     JRIClassID classID,
                     JRIMethodID methodID,
                     UInt32 argCount,
                     JRIValue args[]);
context
The AWT context in whose thread you want the method to execute.
classID
The class ID of the class that contains the method.
methodID
The ID of the method.
argCount
The number of arguments in the method
args[]
The argument list.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
SEE ALSO
For information on using this function to launch a Java application, see "Executing Java Applications" (page 31).

For calls to nonstatic methods, you should use the JMExecMethodInContext function instead (page 68).

For more information on available method calls, see the documentation on the Java Runtime Interface (JRI) at the Web page

http://developer.netscape.com/


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997